package org.jeecg.cn.edu.scau.vm.container.factory;

import static org.jeecg.cn.edu.scau.vm.common.consts.ContainerConst.CREATE;

public class UrlFactory {
    public static final String PREFIX = "http://";
    public static final String AGENT_PORT = ":12726";
    public static final String CREATE_URL = "/container/create";

    public static String getUrl(String type, String ipAddress) {
        // 返回创建的url
        if (type.equals(CREATE)) {
            return PREFIX + ipAddress + AGENT_PORT + CREATE_URL;
        }
        return "";
    }


}
